/*
     CommonStructs.h
	 This file contains the structures of the SDK. All these structs are a C++ implementation of the ones in the server. (Which is a .NET product)

	 Date Created: 7/25/2013
	 Initial Author: Elio Decolli
	 Web Site: ecoders.weebly.com

	 Copyright (C) eCoders 2013.
*/


///////
// PlayerInformation Class.
///////

typedef struct		player_information{
	char*	Username;
	char*	Password;
	long    ID;
	int     CurrentGame;
	bool    IsOnline;
	bool    IsInGame;
}gamer_t;


///////
// ClanUser Class.
///////

typedef struct		clan_user{
	char*	Username;
	long	ID;
}gamer_clan_t;


///////
// Clan Class.
///////

typedef struct		clan_t{
	long	ClanID;
	char*	ClanName;
	char*	ClanOwnerName;
	gamer_clan_t*	Gamers;
};


///////
// ClanRegistrationRequest Class.
///////

typedef struct		clan_registration{
	char*	ClanName;
	gamer_t Owner;
};


///////
// ClanUpdateRequest Class.
///////

typedef struct		clan_update{
	char*	ClanName;
	char*	UpdateInfo;
};